import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('counter', () => {
  // 定制目标
  const dailyScheduleProps = ref(0)

  // 存储整个单词列表
  const wholeWordList = ref([])

  // 存储背诵前的单词列表
  const beforeMemery = ref([])

  // 存储上次更新时间
  const latesUpdatedTime = ref('')

  const targetDate = ref('')

  return {
    dailyScheduleProps,
    wholeWordList,
    beforeMemery,
    latesUpdatedTime,
    targetDate,
  }
})
